home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / misc / centerscreen12.lha / CenterScreenPatch_V1.2 / CenterScreenPatch_V1.2.doc < prev    next >
Text File  |  1992-12-10  |  3KB  |  86 lines

  1.  
  2.                              CenterScreenPatch
  3.                              -----------------
  4.  
  5.                                 Version 1.2
  6.  
  7.                      Copyright 1992 by Bilbo the first
  8.  
  9.  
  10. For  license and terms for software originating from Bilbo the first consult
  11. the file CopyrightNotice which came with this package.
  12.  
  13.  
  14. About CenterScreenPatch:
  15. -----------------------
  16.  
  17. An  installed  and  active  CenterScreenPatch results in all opening Screens
  18. appearing horizontally centered.  Those left sticking screens simply annoyed
  19. me  (since I use overscanned screens), so I wrote this little piece of patch
  20. code.
  21.  
  22. CenterScreenPatch is: 100% assembler code
  23.                       pc-relative
  24.                       not startable from the Workbench
  25.                       an OS2+ tool (you need at least Kickstart 37.175)
  26.                       not removable!
  27.                       Enforcer proof
  28.  
  29.  
  30. How to use CenterScreenPatch:
  31. ----------------------------
  32.  
  33. Start  it  with  CenterScreenPatch  from  CLI  or  within  a  shell  script.
  34. Successfull  injection of the patch will be prompted.  When injection is not
  35. possible  due  to  certain circumstances, the reason for the failure will be
  36. prompted.The  patch cannot be removed in this version.  I did not need that,
  37. but if you think it is essential to be able to remove it, let me know.
  38.  
  39.  
  40. General remarks:
  41. ---------------
  42.  
  43. CenterScreenPatch works as follows:
  44.  
  45. The  requested  screen  is opened using OpenScreen[TagList]().  The overscan
  46. width of the resolution of the screen is determined.  When the screen is not
  47. as wide as the overscan it is centered using MoveScreen().  So non-draggable
  48. screens  cannot be centered (this is the way these screens want it :-), this
  49. is  not  a bug, if I wanted i could write a CenterScreenPatch using OS3 that
  50. can  center  non-draggable  screens,  but  I think it is not "clean" to move
  51. non-draggable screens.  Let me know if you need this though.
  52.  
  53.  
  54. Known bugs:
  55. ----------
  56.  
  57. sorry, none :-)
  58.  
  59.  
  60. History:
  61. -------
  62.  
  63. V1.0    : beta release for some privileged persons
  64. V1.1    : beta release for some privileged persons
  65. V1.2    : first public release
  66.  
  67.  
  68. Thanks, greetings:
  69. -----------------
  70.  
  71.  ·thanks, Jesus Christ for being the god who cares about us all
  72.  ·thanks and love to my girlfriend for being such a patient person
  73.  ·greets to Zaphod Beblebrox of Hypenosis (who will buy a CAT in a sack? :-)
  74.  ·HOARS  to  ALFred  alias  Doctor  Psi,  tète  de  patate, greets to Zenith
  75.   members, too
  76.  ·greets to all the nice pals on irc (Mnemo, Skull, Zop, Delirium, Gucky,
  77.   SteveVai,  Outland,  Gateway,  U4IA, Janne, Milano, Juggi, Advance, Goldrnr,
  78.   Sphinx, Slammer, Ikke, _Lord_,...
  79.   and all I know but forgot now (I'm in a hurry, you know))
  80.  
  81. For  bugreports, ideas, questions and all other concerning CenterScreenPatch
  82. meet me on irc on channel #amiga (or #amigager).
  83.  
  84. Bilbo the first of Hypenosis (10-Dec-92).
  85.  
  86.